﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using POSSystem.DAL;

namespace POSSystem.BLL
{
    public class PageFiles : _PageFiles
    {
        public const int DEFAULT_PAGE = 0;

        public static PageFiles GetPageFileByName(string name)
        {
            PageFiles f = new PageFiles();
            f.Where.PageFileName.Value = name;
            f.Query.Load();

            return f;
        }
    }
}
